﻿namespace IS.Projecto.WebService
{
    using System;
    using System.Collections.Generic;
    using System.ServiceModel;
    using Modelo;

    [ServiceContract]
    public interface IProjectoService
    {
        [OperationContract]
        IList<Docente> SelectAllDocentes();

        [OperationContract]
        Docente SelectDocente(int id);

        [OperationContract]
        IList<Sala> SelectAllSalas();

        [OperationContract]
        Sala SelectSala(int id);

        [OperationContract]
        IList<Inscricao> SelectInscricoes(int cursoId);

        [OperationContract]
        Inscricao SelectInscricao(int id);

        [OperationContract]
        IList<UnidadeCurricular> SelectAllUnidadesCurriculares();

        [OperationContract]
        UnidadeCurricular SelectUnidadeCurricular(int id);

        [OperationContract]
        IList<Horario> SelectHorarios(int cursoId, DateTime start, DateTime end);

        [OperationContract]
        Horario SelectHorario(int id);

        [OperationContract]
        IList<Curso> SelectAllCursos();

        [OperationContract]
        Curso SelectCurso(int id);

        // TODO: Add your service operations here
    }

}